package cn.kinoko.model.manga.req;

import cn.kinoko.common.base.validate.ValidGroup;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

/**
 * @author kinoko
 */
@Data
public class MangaEpReq {
    /** 章节id */
    @NotNull(message = "请选择修改的章节", groups = {ValidGroup.Update.class, ValidGroup.Delete.class})
    private Long epId;
    /** 所属漫画id */
    @NotNull(message = "漫画id为必填参数")
    private Long mangaId;
    /** 话数名称 */
    @NotNull(message = "请输入话数名称", groups = {ValidGroup.Update.class, ValidGroup.Insert.class})
    private String name;
}
